package com.warmlight.voicepacket.data;

import java.util.List;

/**
 * Created by jason on 2018/5/29.
 */

public class RecommendData {

    /**
     * code : 200
     * msg : Suc.
     * data : {"category":[{"id":"0","name":"推荐"},{"id":"1","name":"影视"},{"id":"3","name":"主播"},{"id":"2","name":"音乐"},{"id":"4","name":"明星"}],"play_covers":[{"id":"2","name":"还珠格格","pic":"http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg"},{"id":"1","name":"李云龙","pic":"http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg"},{"id":"3","name":"PDD","pic":"http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg"},{"id":"4","name":"容嬷嬷","pic":"http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg"},{"id":"0","name":"全部","pic":"http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg"}],"audio_list":[{"id":"1","title":"李云龙1","url":"https://warmlight-audio.oss-cn-shanghai.aliyuncs.com/audio/201805/24/e9a04f06025c7350e4d4d3ac93dbf180.mp3","duration":"10","star":"0","share":"0","collect":"0","cover_id":"1","cover_name":"李云龙","cover_pic":"http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg","category_name":"影视"}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<CategoryBean> category;
        private List<PlayCoversBean> play_covers;
        private List<AudioListBean> audio_list;
        private List<BannerBean> banner;
        /**
         * search_key : 李云龙语音包
         */

        private String search_key;

        private ShareBean share;
        private List<ToolBean> tool;


        public ShareBean getShare() {
            return share;
        }

        public void setShare(ShareBean share) {
            this.share = share;
        }

        public List<CategoryBean> getCategory() {
            return category;
        }

        public void setCategory(List<CategoryBean> category) {
            this.category = category;
        }

        public List<PlayCoversBean> getPlay_covers() {
            return play_covers;
        }

        public void setPlay_covers(List<PlayCoversBean> play_covers) {
            this.play_covers = play_covers;
        }

        public List<AudioListBean> getAudio_list() {
            return audio_list;
        }

        public void setAudio_list(List<AudioListBean> audio_list) {
            this.audio_list = audio_list;
        }

        public List<BannerBean> getBanner() {
            return banner;
        }

        public void setBanner(List<BannerBean> banner) {
            this.banner = banner;
        }

        public String getSearch_key() {
            return search_key;
        }

        public void setSearch_key(String search_key) {
            this.search_key = search_key;
        }

        public List<ToolBean> getTool() {
            return tool;
        }

        public void setTool(List<ToolBean> tool) {
            this.tool = tool;
        }

        public static class CategoryBean {
            /**
             * id : 0
             * name : 推荐
             */

            private String id;
            private String name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }

        public static class PlayCoversBean {
            /**
             * id : 2
             * name : 还珠格格
             * pic : http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg
             */

            private String id;
            private String name;
            private String pic;
            /**
             * is_share :
             * tag_id :
             * is_unlocked :
             */

            private String is_share;
            private String tag_id;
            private String is_unlocked;
            /**
             * audio_num : 0 播单歌曲数量
             */

            private String audio_num;
            /**
             * share : {"title":"我发现了一个好玩的语音播单，快来看看吧！","desc":"你的好友分享给你一个语音播单，快打开听听吧！","pic_url":"https://wanpi-img.oss-cn-shanghai.aliyuncs.com/wanpi_logo.png","h5_url":"http://m.nuanguang.vip/wanpi/AudioPlayList.html"}
             */

            private ShareBean share;

//            private boolean unlockSuccess;

//            public boolean isUnlockSuccess() {
//                return unlockSuccess;
//            }
//
//            public void setUnlockSuccess(boolean unlockSuccess) {
//                this.unlockSuccess = unlockSuccess;
//            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getIs_share() {
                return is_share;
            }

            public void setIs_share(String is_share) {
                this.is_share = is_share;
            }

            public String getTag_id() {
                return tag_id;
            }

            public void setTag_id(String tag_id) {
                this.tag_id = tag_id;
            }

            public String getIs_unlocked() {
                return is_unlocked;
            }

            public void setIs_unlocked(String is_unlocked) {
                this.is_unlocked = is_unlocked;
            }

            public String getAudio_num() {
                return audio_num;
            }

            public void setAudio_num(String audio_num) {
                this.audio_num = audio_num;
            }

            public ShareBean getShare() {
                return share;
            }

            public void setShare(ShareBean share) {
                this.share = share;
            }

            public static class ShareBean {
                /**
                 * title : 我发现了一个好玩的语音播单，快来看看吧！
                 * desc : 你的好友分享给你一个语音播单，快打开听听吧！
                 * pic_url : https://wanpi-img.oss-cn-shanghai.aliyuncs.com/wanpi_logo.png
                 * h5_url : http://m.nuanguang.vip/wanpi/AudioPlayList.html
                 */

                private String title;
                private String desc;
                private String pic_url;
                private String h5_url;

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getDesc() {
                    return desc;
                }

                public void setDesc(String desc) {
                    this.desc = desc;
                }

                public String getPic_url() {
                    return pic_url;
                }

                public void setPic_url(String pic_url) {
                    this.pic_url = pic_url;
                }

                public String getH5_url() {
                    return h5_url;
                }

                public void setH5_url(String h5_url) {
                    this.h5_url = h5_url;
                }
            }
        }

        public static class AudioListBean {
            /**
             * id : 1
             * title : 李云龙1
             * url : https://warmlight-audio.oss-cn-shanghai.aliyuncs.com/audio/201805/24/e9a04f06025c7350e4d4d3ac93dbf180.mp3
             * duration : 10
             * star : 0
             * share : 0
             * collect : 0
             * cover_id : 1
             * cover_name : 李云龙
             * cover_pic : http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg
             * category_name : 影视
             */

            private String id;
            private String title;
            private String url;
            private String duration;
            private String star;
            private String share;
            private String collect;
            private String cover_id;
            private String cover_name;
            private String cover_pic;
            private String category_name;

            /**
             * is_share :
             * tag_id :
             * is_unlocked :
             */

            private String is_share;
            private String tag_id;
            private String is_unlocked;


            /**
             * share_info : {"title":"李云龙","desc":"语音内容由网友投稿上传","pic_url":"cover_pic","h5_url":"http://m.nuanguang.vip/wanpi/AudioPlayList.html?dataId=68&isDetail=true"}
             */

            private ShareInfoBean share_info;
            /**
             * is_collect : false
             */

            private boolean is_collect;


            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getDuration() {
                return duration;
            }

            public void setDuration(String duration) {
                this.duration = duration;
            }

            public String getStar() {
                return star;
            }

            public void setStar(String star) {
                this.star = star;
            }

            public String getShare() {
                return share;
            }

            public void setShare(String share) {
                this.share = share;
            }

            public String getCollect() {
                return collect;
            }

            public void setCollect(String collect) {
                this.collect = collect;
            }

            public String getCover_id() {
                return cover_id;
            }

            public void setCover_id(String cover_id) {
                this.cover_id = cover_id;
            }

            public String getCover_name() {
                return cover_name;
            }

            public void setCover_name(String cover_name) {
                this.cover_name = cover_name;
            }

            public String getCover_pic() {
                return cover_pic;
            }

            public void setCover_pic(String cover_pic) {
                this.cover_pic = cover_pic;
            }

            public String getCategory_name() {
                return category_name;
            }

            public void setCategory_name(String category_name) {
                this.category_name = category_name;
            }
            public String getIs_share() {
                return is_share;
            }

            public void setIs_share(String is_share) {
                this.is_share = is_share;
            }

            public String getTag_id() {
                return tag_id;
            }

            public void setTag_id(String tag_id) {
                this.tag_id = tag_id;
            }

            public String getIs_unlocked() {
                return is_unlocked;
            }

            public void setIs_unlocked(String is_unlocked) {
                this.is_unlocked = is_unlocked;
            }

            public ShareInfoBean getShare_info() {
                return share_info;
            }

            public void setShare_info(ShareInfoBean share_info) {
                this.share_info = share_info;
            }

            public boolean isIs_collect() {
                return is_collect;
            }

            public void setIs_collect(boolean is_collect) {
                this.is_collect = is_collect;
            }

            public static class ShareInfoBean {
                /**
                 * title : 李云龙
                 * desc : 语音内容由网友投稿上传
                 * pic_url : cover_pic
                 * h5_url : http://m.nuanguang.vip/wanpi/AudioPlayList.html?dataId=68&isDetail=true
                 */

                private String title;
                private String desc;
                private String pic_url;
                private String h5_url;

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getDesc() {
                    return desc;
                }

                public void setDesc(String desc) {
                    this.desc = desc;
                }

                public String getPic_url() {
                    return pic_url;
                }

                public void setPic_url(String pic_url) {
                    this.pic_url = pic_url;
                }

                public String getH5_url() {
                    return h5_url;
                }

                public void setH5_url(String h5_url) {
                    this.h5_url = h5_url;
                }
            }
        }


        public static class BannerBean {
            /**
             * pic : https://ss1.baidu.com/9vo3dSag_xI4khGko9WTAnF6hhy/image/h%3D300/sign=f560166a52df8db1a32e7a643922dddb/0ff41bd5ad6eddc4f8daa30935dbb6fd52663306.jpg
             * value : https://m.baidu.com
             * type : 1
             */

            private String pic;
            private String value;
            private String type;

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }
        }

        public static class ShareBean{

            /**
             * title : 狠有趣的搞笑语音包
             * desc : 你的好友分享给你一个语音播单，快打开听听吧！
             * pic_url : https://wanpi-img.oss-cn-shanghai.aliyuncs.com/wanpi_logo.png
             * h5_url : http://m.nuanguang.vip/wanpi/AudioPlayList.html
             */

            private String title;
            private String desc;
            private String pic_url;
            private String h5_url;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getPic_url() {
                return pic_url;
            }

            public void setPic_url(String pic_url) {
                this.pic_url = pic_url;
            }

            public String getH5_url() {
                return h5_url;
            }

            public void setH5_url(String h5_url) {
                this.h5_url = h5_url;
            }
        }

        public static class ToolBean {
            /**
             * title : 每日上新
             * icon : http://nuanguang-img.oss-cn-shanghai.aliyuncs.com/img_lib/a153371605548855.png
             * type : 2
             * value : 68
             * is_login : 0
             */

            private String title;
            private String icon;
            private String type;
            private String value;
            private String is_login;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }

            public String getIs_login() {
                return is_login;
            }

            public void setIs_login(String is_login) {
                this.is_login = is_login;
            }
        }
    }
}
